<template>
  <div class="shop" v-if="storeinfo.head">
      <div class="shop_info">
          <div>
              <img :src="storeinfo.head" alt="">
          </div>
          <div>
              {{storeinfo.store_name}}
          </div>
          <div>
              标签
          </div>
      </div>
      <div class="shopmsg">
          <div>
              <p>456</p>
              <p>粉丝数</p>
          </div>
          <div>
              <p>{{storeinfo.goods_num}}</p>
              <p>全部商品</p>
          </div>
      </div>
      <div class="shop_button">
          <van-button round color="#6f7" @click="guanzhu">关注店铺</van-button>
          <van-button round color="#f20" @click="jinru">进入店铺</van-button>
      </div>
  </div>
</template>

<script>
export default {
    name:'shopinfo',
    props:['storeinfo'],
    methods: {
        guanzhu(){},
        jinru(){},
    },
}
</script>

<style lang="less" scoped>
.shop{
    width: 100%;
    padding-bottom:50px;
    padding-top:50px;
    background-color: white;
    margin-top: 50px;
    border-radius: 40px;
}
.shop_button{
    margin-top: 20px;
    margin-left: 5%;
    width: 90%;
    display: flex;
    justify-content: space-around;
    .van-button{
        width: 35%;
    }
}
.shop_info{
    width: 100%;
    height: 100px;
    line-height: 100px;
    display: flex;
    justify-content: space-around;
    img{
        width: 80px;
        height: 80px;
    }
}
.shopmsg{
    width: 100%;
    display: flex;
    justify-content: space-around;
}
</style>